home *** CD-ROM | disk | FTP | other *** search
/ Info-Mac 3 / Info_Mac_1994-01.iso / Development / Source / AutoBin Source / DSAppleEvents.h < prev    next >
Text File  |  1991-11-24  |  2KB  |  56 lines

  1. /******************************************************************************
  2. **
  3. **  Project Name:    DropShell
  4. **     File Name:    DSAppleEvents.h
  5. **
  6. **   Description:    Header w/prototypes for the generic AppleEvent handling routines
  7. **
  8. *******************************************************************************
  9. **                       A U T H O R   I D E N T I T Y
  10. *******************************************************************************
  11. **
  12. **    Initials    Name
  13. **    --------    -----------------------------------------------
  14. **    LDR            Leonard Rosenthol
  15. **    MTC            Marshall Clow
  16. **    SCS            Stephan Somogyi
  17. **
  18. *******************************************************************************
  19. **                      R E V I S I O N   H I S T O R Y
  20. *******************************************************************************
  21. **
  22. **      Date        Time    Author    Description
  23. **    --------    -----    ------    ---------------------------------------------
  24. **    11/24/91            LDR        Added new routines to this header
  25. **    10/29/91            SCS        Changes for THINK C 5
  26. **    10/28/91            LDR        Officially renamed DropShell (from QuickShell)
  27. **    10/06/91    00:02    MTC        Converted to MPW C
  28. **    04/09/91    00:02    LDR        Added to Projector
  29. **
  30. ******************************************************************************/
  31.  
  32. #pragma once
  33.  
  34. #ifndef __DSAPPLEEVENTS_H__
  35. #define __DSAPPLEEVENTS_H__
  36.  
  37. #include <AppleEvents.h>
  38. #include <DSGlobals.h>
  39. #include <DSUtils.h>
  40. #include <DSUserProcs.h>
  41.  
  42. pascal void        InitAEVTStuff(void);
  43. OSErr            GotRequiredParams(AppleEvent *theAppleEvent);
  44. void            FailErr(OSErr err);
  45.  
  46. pascal OSErr _HandleDocs ( AppleEvent *theAppleEvent, AppleEvent *reply, Boolean opening );
  47.  
  48. pascal OSErr    HandleOAPP(AppleEvent *theAppleEvent, AppleEvent *reply, long handlerRefcon);
  49. pascal OSErr    HandleQuit(AppleEvent *theAppleEvent, AppleEvent *reply, long handlerRefcon);
  50. pascal OSErr    HandleODOC(AppleEvent *theAppleEvent, AppleEvent *reply, long handlerRefcon);
  51. pascal OSErr    HandlePDOC(AppleEvent *theAppleEvent, AppleEvent *reply, long handlerRefcon);
  52. pascal void        DoHighLevelEvent(EventRecord *event);
  53.  
  54. #endif __DSAPPLEEVENTS_H__
  55.  
  56.